package com.huawei.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 黄后林
 * @date 2022-11-10 17:20:13
 * @note 程序员是用代码喂出来的
 */
public class BookTypeUtil {



    public static String getBookTypeName(Integer bookType){
        Map<Integer,String> map = new HashMap<>();
        map.put(1,"小说");
        map.put(2,"文学");
        map.put(3,"传记");
        map.put(4,"艺术");
        map.put(5,"少儿");
        map.put(6,"经济");
        map.put(7,"管理");
        map.put(8,"科技");
        String bookTypeName = map.get(bookType);
        return bookTypeName;

    }
}
